BeforeFormRepostCallback

public interface BeforeFormRepostCallback implements BrowserAsyncCallback<P, R>

This callback is invoked when a web page with POST data is going to be reloaded and the user must confirm that the POST data can be resubmitted.

You can use this callback to display a confirmation dialog where you ask the user whether the web page can be reloaded or not.

The Params contains the re-post dialog parameters.

Use the repost method to allow resubmitting POST data.

Use the cancel method to cancel the page reloading.

If the callback throws an exception, the repost method will be invoked.

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the BeforeFormRepostCallback.
Link copied to clipboard
public interface Params
The parameters of the BeforeFormRepostCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.